package com.ericsson.smart.dto;

//metadata for GEO dimensions
public enum GeoDrilldown implements DrillDownInterface {

	GEO_ZIP_CODE("GEO_ZIP_CODE", null, "zipCode"), GEO_AREA("GEO_AREA", GEO_ZIP_CODE, "area"), GEO_SUBSTATION_ID(
			"GEO_SUBSTATION_ID", GEO_AREA, "substation_id"), GEO_CITY("GEO_CITY",
			GEO_SUBSTATION_ID, "city");

	private String name;

	private GeoDrilldown ddown;

	private String colName;

	public String getName() {
		return name;
	}

	public GeoDrilldown getNextDimension() {
		return ddown;
	}

	public String getColName() {
		return colName;
	}

	private GeoDrilldown(String aString, GeoDrilldown aDrilldown, String colName) {
		this.name = aString;
		this.ddown = aDrilldown;
		this.colName = colName;
	}

};
